/**
 * Created by 新思 on 2017/3/2.
 */
//加载模板文件
import index from '../apps/index.vue'
import login from '../apps/login.vue'
import user from '../apps/user.vue'
import nsit from '../apps/nsit.vue'
//路由规则设置

export default [
  {
    path: '/',
    name: "index",
    meta: {
      title: "首页"
    },
    component: index
    //component: resolve => require(['../apps/index.vue'],resolve)//这种路由方式可以把页面单独打包
  },
  {
    path: '/nsit',
    name: "nsit",
    meta: {
      title: "列表页 "
    },
    component: nsit
  },
  {
    path: '/login',
    name: "login",
    meta: {
      title: "登录 "
    },
    component: login
  },
  {
    path: '/user',
    name: "user",
    meta: {
      title: "我的 "
    },
    component: user
  }
]
